﻿
using Fozzy.Ontology;

namespace Fozzy.Gedcom
{
    /// <summary>
    /// One family group. 
    /// </summary>
    /// 
    [XAlias("DATE")]
    [XLevel(2)]
    public class Date                                       : Time.Date
    {
        #region States
        #endregion

        #region Properties
            //private Line            Normal                  { get { return new Line(Alias, Value.ToShortDateString())                       ; } }

        #endregion

        #region Constructeur
            public Date(_Element node)                       : base(node)
            {}
            public Date(Time.Date date)                     : base(date.Value)
            {}
            public Date(string date)                        : base(date)
            {}
        #endregion

            //public override void Export()
            //{
            //    base.Export()                               ;
            //    //        WriteLine(2, "DATE", date.Value.ToShortDateString());
            //    if(Be()) Normal.Export()                    ;                
            //}
    }
}
